package demo01.getName;

public class Demo01GetThreadName {
    public static void main(String[] args) {
        MyThread myThread = new MyThread();
        myThread.start();

       new MyThread().start();
       new MyThread().start();
        System.out.println(Thread.currentThread().getName());
    }
}
